package day02.homework;

public class DataTypeCastDemo1 {
    public static void main(String[] args) {
        int a = 12;
        long b = 32131234;
        double c = 123456789;
        byte d = (byte)a;
        int e = (int)b;

        long f = 1234567894102L;
        int g = (int)f;
        System.out.println("g="+g);

        double h = 1234567894.89123;
        int i = (int)h;
        System.out.println("i="+i);
    }
}
